#ifndef __USART1_H__
#define __USART1_H__

#include <at32f4xx.h>

void usart1_init(uint32_t bound);

void UartSendByte(unsigned char u8_data);
void UartSendDataFrame(unsigned char *p_u8_data);
void UartReceiveDataBlockCheck(void);
void SpeedPerHourCalculate(unsigned int u16_wheel_distance,   unsigned char 	*p_value);


void DelayForWork(unsigned short int u16_delay);


#endif
